<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            /* 就算设置为important，那也是继承给子盒子的属性，继承过去的属性优先级低于子盒子自己设置 */
            color: red !important;
        }
        .container{
            color: green;
        }
    </style>
</head>
<body>
    <div class="box">
        aaa
        <div class="container">我是container的内容</div>
    </div>
</body>
</html>